﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace NAstAp
{
    public partial class IPConfig : Form
    {
        public IPConfig()
        {
            InitializeComponent();
        }

        private void IPConfig_Load(object sender, EventArgs e)
        {
            System.Net.NetworkInformation.NetworkInterface[] interfaces = System.Net.NetworkInformation.NetworkInterface.GetAllNetworkInterfaces();
            foreach (System.Net.NetworkInformation.NetworkInterface inter in interfaces)
            {
                comboBox1.Items.Add(inter.Name);
            }
        }

        private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            panel1.Visible = true;
        }
    }
}
